﻿@inject WaitService WaitService
<title>@ViewBag.Title</title>
@RenderBody()
@await FlushAsync()
@{
    WaitService.WaitForClient();
}
@await Html.PartialAsync("_PartialThatSetsTitle")
@await RenderSectionAsync("content")
More content from layout
@{
    WaitService.NotifyClient();
}
